import app


class TrustAccountApi:
    # 实名认证
    approve_realname_url = app.BASE_URL + "/member/realname/approverealname"
    # 开户
    trust_reg_url = app.BASE_URL + "/trust/trust/register"

    # 实名认证
    @classmethod
    def approve_realname(cls, session, body):
        print("approve_realname body=", body)
        return session.post(cls.approve_realname_url, data=body, files={"a": "b"})

    # 开户
    @classmethod
    def trust_reg(cls, session):
        return session.post(cls.trust_reg_url)
